<template>
  <div id="app">
    <!--需求: 首页组件需要缓存, 其他组件不需要缓存 -->
    <keep-alive>
      <router-view v-if="$route.meta.isKeepAlive" />
    </keep-alive>
    <router-view v-if="!$route.meta.isKeepAlive" />

  </div>
</template>
<script>
export default {
}
</script>
<style lang="less">
</style>
